package _2工具类;

import java.sql.SQLException;
import java.util.List;

public interface IGoodsDAO {

	int insert(Goods g) throws SQLException ;
	
	int deleteById(int gid) throws SQLException ;
	
	int update(Goods g) throws SQLException ;
	
	Goods findById(int gid) throws SQLException ;
	
	List<Goods> findAll() throws SQLException ;
	
}
